home *** CD-ROM | disk | FTP | other *** search
- on CHANGEREDROLL
- global REDROLL
- set REDROLL to REDROLL + 1
- if REDROLL >= 5 then
- set REDROLL to 1
- end if
- if REDROLL = 1 then
- set the castNum of sprite 29 to 5
- end if
- if REDROLL = 2 then
- set the castNum of sprite 29 to 6
- end if
- if REDROLL = 3 then
- set the castNum of sprite 29 to 7
- end if
- if REDROLL = 4 then
- set the castNum of sprite 29 to 4
- end if
- updateStage()
- end
-